package com.atguigu.gmall.cart;

import com.atguigu.gmall.common.config.Knife4jConfiguration;
import com.atguigu.gmall.common.interceptor.annotation.EnableUserAuthFeignInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @author lhh
 * @ClassName CartApplication
 * @date 2022 2022/12/16
 */
@Import({Knife4jConfiguration.class})
@EnableUserAuthFeignInterceptor
@EnableFeignClients(basePackages = {"com.atguigu.gamll.feign.product"})
@SpringCloudApplication
public class CartApplication {
    public static void main(String[] args) {
        SpringApplication.run(CartApplication.class,args);
    }
}
